import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import {getAppList} from '@/api/simulate'

const useCommonData = defineStore('commonData',{
    state: () => ({
        appList:[]
    }),
    getters: {
      
    },
    actions: {
       
       async getRemoteAppList() {
        getAppList().then((res)=>{
            this.appList = res.data
        })
        
      }, 
    },
  })
  export default useCommonData
